<admintpl file="header" />
<style type="text/css">
.pic-list li {
    margin-bottom: 5px;
}
.num{
    height:25px;
    -moz-border-radius: 12.5px; 
    -webkit-border-radius: 12.5px;  
    border-radius: 12.5px;
}
.btnx{
    background:#fff;
    color:#233140;
    border:1px solid #233140;
}
</style>
</head>
<body>
    <div class="wrap js-check-wrap">
        <ul class="nav nav-tabs">
            <li class="active"><a href="">注单详情</a></li> 
        </ul>
            <div class="row-fluid">
                <div class="span9">
                  <foreach name="arr" item="v">
                  <h2>{$names}</h2>
                    <table class="table">
                        <tr>
                        <th width="80">期号：</th>
                            <td>
                                <span>{$v.issue}</span>
                            </td>
                        </tr>
                        <tr>
                        <th width="80">投注总金额：</th>
                            <td>
                                <span>¥{$v.money}元</span>
                            </td>
                        </tr>
                        <tr>
                        <th width="80">投注单号：</th>
                            <td>
                                <span>{$v.numbers}</span>
                            </td>
                        </tr>
                        <tr>
                        <th width="80">投注时间：</th>
                            <td>
                                <span><?php echo date("Y-m-d H:i:s",$v["ctime"]);?></span>
                            </td>
                        </tr>
                        <tr>
                        <th width="80">总奖金：</th>
                            <td>
                                <span>¥{$v.zong_money}元</span>
                            </td>
                        </tr>
                        <tr>
                        <th width="80">开奖号码：</th>
                            <td>
                                <span>{$v.opencode}</span>
                            </td>
                        </tr>
                    </table>
                    </foreach>
                <table class="table table-hover table-bordered">
                    <thead>
                    <tr>
                        <td>玩法</td>
                        <td>投注内容</td>
                        <td>注数</td>
                        <td>倍数</td>
                        <td>投注金额</td>
                        <td>模式</td>
                        <td>奖金</td>
                        <td>状态</td>
                    </tr>
                    </thead>
                    <tbody>
                    <foreach name="arr1" item="v">
                        <tr>
                            <td>
                              <?php  
                                  if($table=='1'){
                                    echo C("K3")[$v["type"]];
                                  }elseif($table=='2'){
                                    echo C("X5")[$v["type"]];
                                  }elseif($table=='3'){
                                    echo C("FC3D")[$v["type"]];
                                  }elseif($table=='4'){
                                    echo C("KL8")[$v["type"]];
                                  }elseif($table=='5'){
                                    echo C("PK10")[$v["type"]];
                                  }elseif($table=='6'){
                                    echo C("SSC")[$v["type"]];
                                  }
                              ?>             
                            </td>
                            <td>{$v.cal}</td>
                            <td>{$v.pours}</td>
                            <td><?php if(empty($v["bei"])){echo "1";}else{echo $v["bei"];} ;?></td>
                            <td><?php if(empty($v["moneys"])){echo "——";}else{echo $v["moneys"];} ;?></td>
                            <td>{$v.unit}</td>
                            <td><?php if($v["is_zhong"]=='1'){echo $v["zo_money"];}elseif($v["is_zhong"]=='2'){echo "0.00";};?></td>
                            <td><?php if($v["is_zhong"]=='1'){echo "已中奖";}elseif($v["is_zhong"]=='2'){echo "未中奖";};?></td>
                        </tr>
                     </foreach>
                        </tbody>
        </table>
                </div>
            </div>
    </div>
    <script src="__PUBLIC__/js/common.js"></script>
    <script type="text/javascript">
        //编辑器路径定义
        var editorURL = GV.WEB_ROOT;
    </script>
    <script type="text/javascript" src="__PUBLIC__/js/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/ueditor/ueditor.all.min.js"></script>
    <script type="text/javascript">
    </script>
</body>
</html>